.thumbs{
  display: flex;
  div{
    width: 100%;
  }
  .my-gallery {
    display: flex;
    flex-wrap: wrap;
    figure {
      margin: 10px;
      box-shadow: 0 0 10px #ccc;
      img {
        width: 100px;
        height: 100px;
        vertical-align: middle;
      }
    }
  }
}